package com.skynet.supervision.aop.validate;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * means method params which marked 'valid' will be validated
 * if failed, ErrorException will throw
 *
 * @see ErrorException
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ApplyValidate {
    boolean checkInParams() default true;

    boolean checkOutParams() default true;

}
